CC = gcc
#CFLAGS = -c -g -Wall -ansi -pedantic -I"." -lefence
CFLAGS = -g -Wall -I"." -pedantic \
-ansi \
-Waggregate-return \
-Wbad-function-cast \
-Wcast-qual \
-Wcast-align \
-Wdeclaration-after-statement \
-Wendif-labels \
-Werror \
-Wextra \
-Wfloat-equal \
-Wimport \
-Winline \
-Winvalid-pch \
-Wlong-long \
-Wmissing-declarations \
-Wmissing-field-initializers \
-Wmissing-format-attribute \
-Wmissing-noreturn \
-Wmissing-prototypes \
-Wnested-externs \
-Wold-style-definition \
-Wpacked \
-Wpointer-arith \
-Wpointer-sign \
-Wredundant-decls \
-Wshadow \
-Wsign-compare \
-Wstrict-prototypes \
-Wundef \
-Wunreachable-code \
-Wunused-macros \
-Wvariadic-macros \
-Wwrite-strings\
-Wformat
OBJECT = abb.o key.o data.o cr.o cw.o dict.o fmain.o pila.o tuple.o
TARGET = main

all: $(TARGET)

main: main.o $(OBJECT)
	$(CC) -o $@ $^

.PHONY: clean

clean:
	rm -f *.o *~ $(TARGET)
